<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">KernelBudgetedSGDTrainer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_kernel_budgeted_s_g_d_trainer-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt; Class Template Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Budgeted stochastic gradient descent training for kernel-based models.  
 <a href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">shark/Algorithms/Trainers/Budgeted/KernelBudgetedSGDTrainer.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_kernel_budgeted_s_g_d_trainer__inherit__graph.png" border="0" usemap="#ashark_1_1_kernel_budgeted_s_g_d_trainer_3_01_input_type_00_01_cache_type_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_kernel_budgeted_s_g_d_trainer_3_01_input_type_00_01_cache_type_01_4_inherit__map" id="ashark_1_1_kernel_budgeted_s_g_d_trainer_3_01_input_type_00_01_cache_type_01_4_inherit__map">
<area shape="rect" title="Budgeted stochastic gradient descent training for kernel&#45;based models." alt="" coords="272,39,494,79"/>
<area shape="rect" href="classshark_1_1_abstract_trainer.html" title=" " alt="" coords="5,5,224,46"/>
<area shape="poly" title=" " alt="" coords="240,39,272,43,271,48,239,44"/>
<area shape="rect" href="classshark_1_1_i_parameterizable.html" title="Top level interface for everything that holds parameters." alt="" coords="35,71,194,111"/>
<area shape="poly" title=" " alt="" coords="209,77,271,70,272,75,210,82"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ab2bbffc9336fbe61c3b667f8f3f0672e" id="r_ab2bbffc9336fbe61c3b667f8f3f0672e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ab2bbffc9336fbe61c3b667f8f3f0672e">preInitializationMethod</a> { <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ab2bbffc9336fbe61c3b667f8f3f0672ea3481ccda012741ec6f194790c8fa81b2">NONE</a>
, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ab2bbffc9336fbe61c3b667f8f3f0672eaa780ebd48025014f013b4fa68cc4ae45">RANDOM</a>
 }</td></tr>
<tr class="memdesc:ab2bbffc9336fbe61c3b667f8f3f0672e"><td class="mdescLeft">&#160;</td><td class="mdescRight">preinitialization methods  <a href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ab2bbffc9336fbe61c3b667f8f3f0672e">More...</a><br /></td></tr>
<tr class="separator:ab2bbffc9336fbe61c3b667f8f3f0672e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e358ce3d8b3397c0f53bbf04d9c5493" id="r_a2e358ce3d8b3397c0f53bbf04d9c5493"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_kernel_function.html">AbstractKernelFunction</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a2e358ce3d8b3397c0f53bbf04d9c5493">KernelType</a></td></tr>
<tr class="separator:a2e358ce3d8b3397c0f53bbf04d9c5493"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabd1a7c1a563d9c29039fabc8f1a57c2" id="r_aabd1a7c1a563d9c29039fabc8f1a57c2"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_kernel_classifier.html">KernelClassifier</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#aabd1a7c1a563d9c29039fabc8f1a57c2">ClassifierType</a></td></tr>
<tr class="separator:aabd1a7c1a563d9c29039fabc8f1a57c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62a15b8334075f72a3dfd0827d6d28e5" id="r_a62a15b8334075f72a3dfd0827d6d28e5"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_kernel_expansion.html">KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a62a15b8334075f72a3dfd0827d6d28e5">ModelType</a></td></tr>
<tr class="separator:a62a15b8334075f72a3dfd0827d6d28e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06bca64eeb1641f17d435da555a78c22" id="r_a06bca64eeb1641f17d435da555a78c22"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_loss.html">AbstractLoss</a>&lt; unsigned int, RealVector &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a06bca64eeb1641f17d435da555a78c22">LossType</a></td></tr>
<tr class="separator:a06bca64eeb1641f17d435da555a78c22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f29257150948ec40a72088b71509195" id="r_a1f29257150948ec40a72088b71509195"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_const_proxy_reference.html">ConstProxyReference</a>&lt; typenameBatch&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::typeconst &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a1f29257150948ec40a72088b71509195">ConstBatchInputReference</a></td></tr>
<tr class="separator:a1f29257150948ec40a72088b71509195"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46a5cbca5391f2985a52e84ab9fa99fa" id="r_a46a5cbca5391f2985a52e84ab9fa99fa"><td class="memItemLeft" align="right" valign="top">typedef CacheType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a46a5cbca5391f2985a52e84ab9fa99fa">QpFloatType</a></td></tr>
<tr class="separator:a46a5cbca5391f2985a52e84ab9fa99fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b834dccb79cf2bd9623ad3caf374aa5" id="r_a5b834dccb79cf2bd9623ad3caf374aa5"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, unsignedint &gt;::element_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a5b834dccb79cf2bd9623ad3caf374aa5">ElementType</a></td></tr>
<tr class="separator:a5b834dccb79cf2bd9623ad3caf374aa5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60fcdf9770f6f859edaead4ff9a2684e" id="r_a60fcdf9770f6f859edaead4ff9a2684e"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_kernel_matrix.html">KernelMatrix</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a46a5cbca5391f2985a52e84ab9fa99fa">QpFloatType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a60fcdf9770f6f859edaead4ff9a2684e">KernelMatrixType</a></td></tr>
<tr class="separator:a60fcdf9770f6f859edaead4ff9a2684e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86c3c80eefc4b570704a0d8bbc5a0f97" id="r_a86c3c80eefc4b570704a0d8bbc5a0f97"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_partly_precomputed_matrix.html">PartlyPrecomputedMatrix</a>&lt; <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a60fcdf9770f6f859edaead4ff9a2684e">KernelMatrixType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a86c3c80eefc4b570704a0d8bbc5a0f97">PartlyPrecomputedMatrixType</a></td></tr>
<tr class="separator:a86c3c80eefc4b570704a0d8bbc5a0f97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_abstract_trainer"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_abstract_trainer')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_abstract_trainer.html">shark::AbstractTrainer&lt; KernelClassifier&lt; InputType &gt; &gt;</a></td></tr>
<tr class="memitem:a0d5c9d35b614d6a33e4e8bfeaf1e9298 inherit pub_types_classshark_1_1_abstract_trainer" id="r_a0d5c9d35b614d6a33e4e8bfeaf1e9298"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_kernel_classifier.html">KernelClassifier</a>&lt; <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_trainer.html#a0d5c9d35b614d6a33e4e8bfeaf1e9298">ModelType</a></td></tr>
<tr class="separator:a0d5c9d35b614d6a33e4e8bfeaf1e9298 inherit pub_types_classshark_1_1_abstract_trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cfa7cdd27b8bb162e64188095f8fa71 inherit pub_types_classshark_1_1_abstract_trainer" id="r_a0cfa7cdd27b8bb162e64188095f8fa71"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_model.html#a714e85d7a6cd2b68898cb5dbb25c37d4">ModelType::InputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a></td></tr>
<tr class="separator:a0cfa7cdd27b8bb162e64188095f8fa71 inherit pub_types_classshark_1_1_abstract_trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4e344106831fb8227c2120681588ea9 inherit pub_types_classshark_1_1_abstract_trainer" id="r_aa4e344106831fb8227c2120681588ea9"><td class="memItemLeft" align="right" valign="top">typedef typename Model::OutputType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_trainer.html#aa4e344106831fb8227c2120681588ea9">LabelType</a></td></tr>
<tr class="separator:aa4e344106831fb8227c2120681588ea9 inherit pub_types_classshark_1_1_abstract_trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4730fe9d59622d35d95cd4233f8d7af inherit pub_types_classshark_1_1_abstract_trainer" id="r_aa4730fe9d59622d35d95cd4233f8d7af"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a>&lt; <a class="el" href="classshark_1_1_abstract_trainer.html#a0cfa7cdd27b8bb162e64188095f8fa71">InputType</a>, <a class="el" href="classshark_1_1_abstract_trainer.html#aa4e344106831fb8227c2120681588ea9">LabelType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_trainer.html#aa4730fe9d59622d35d95cd4233f8d7af">DatasetType</a></td></tr>
<tr class="separator:aa4730fe9d59622d35d95cd4233f8d7af inherit pub_types_classshark_1_1_abstract_trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable" id="r_a2ad5e2e60b2b352988b41f46024d790b"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a></td></tr>
<tr class="separator:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aab286ceb068bacf0dcdd21b43c48c231" id="r_aab286ceb068bacf0dcdd21b43c48c231"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#aab286ceb068bacf0dcdd21b43c48c231">KernelBudgetedSGDTrainer</a> (<a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a2e358ce3d8b3397c0f53bbf04d9c5493">KernelType</a> *<a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a5a0280688fb9600606ea098dfa9fb3a5">kernel</a>, const <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a06bca64eeb1641f17d435da555a78c22">LossType</a> *loss, double <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a55681941faf8293971193dce813c5651">C</a>, bool offset, bool unconstrained=false, size_t <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a1f1e8961c4e22246f2fe3d023335c571">budgetSize</a>=500, <a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html">AbstractBudgetMaintenanceStrategy</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; *<a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#aacf277842f28d9d49b1aea197ba710ac">budgetMaintenanceStrategy</a>=NULL, size_t <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a512de58a73a790ce3159452b73c1f892">epochs</a>=1, size_t <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ab2bbffc9336fbe61c3b667f8f3f0672e">preInitializationMethod</a>=<a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ab2bbffc9336fbe61c3b667f8f3f0672ea3481ccda012741ec6f194790c8fa81b2">NONE</a>, double <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a7711ed0cef0489dc1bca0a9cb26e12fa">minMargin</a>=1.0f)</td></tr>
<tr class="memdesc:aab286ceb068bacf0dcdd21b43c48c231"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor Note that there is no cache size involved, as merging vectors will always create new ones, which makes caching roughly obsolete.  <br /></td></tr>
<tr class="separator:aab286ceb068bacf0dcdd21b43c48c231"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f1e8961c4e22246f2fe3d023335c571" id="r_a1f1e8961c4e22246f2fe3d023335c571"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a1f1e8961c4e22246f2fe3d023335c571">budgetSize</a> () const</td></tr>
<tr class="separator:a1f1e8961c4e22246f2fe3d023335c571"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae45eb76dbab8216393c04a45272c078a" id="r_ae45eb76dbab8216393c04a45272c078a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ae45eb76dbab8216393c04a45272c078a">setBudgetSize</a> (std::size_t <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a1f1e8961c4e22246f2fe3d023335c571">budgetSize</a>)</td></tr>
<tr class="separator:ae45eb76dbab8216393c04a45272c078a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacf277842f28d9d49b1aea197ba710ac" id="r_aacf277842f28d9d49b1aea197ba710ac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html">AbstractBudgetMaintenanceStrategy</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#aacf277842f28d9d49b1aea197ba710ac">budgetMaintenanceStrategy</a> () const</td></tr>
<tr class="separator:aacf277842f28d9d49b1aea197ba710ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f87b77aab4f3bc93ab429994d51caf3" id="r_a4f87b77aab4f3bc93ab429994d51caf3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a4f87b77aab4f3bc93ab429994d51caf3">setBudgetMaintenanceStrategy</a> (<a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html">AbstractBudgetMaintenanceStrategy</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; *<a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#aacf277842f28d9d49b1aea197ba710ac">budgetMaintenanceStrategy</a>)</td></tr>
<tr class="separator:a4f87b77aab4f3bc93ab429994d51caf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7711ed0cef0489dc1bca0a9cb26e12fa" id="r_a7711ed0cef0489dc1bca0a9cb26e12fa"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a7711ed0cef0489dc1bca0a9cb26e12fa">minMargin</a> () const</td></tr>
<tr class="separator:a7711ed0cef0489dc1bca0a9cb26e12fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f083a7f478269c13cf1550e3fe0c469" id="r_a9f083a7f478269c13cf1550e3fe0c469"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a9f083a7f478269c13cf1550e3fe0c469">setMinMargin</a> (double <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a7711ed0cef0489dc1bca0a9cb26e12fa">minMargin</a>)</td></tr>
<tr class="separator:a9f083a7f478269c13cf1550e3fe0c469"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6479254636b6c638beec35a3ba495f5a" id="r_a6479254636b6c638beec35a3ba495f5a"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a6479254636b6c638beec35a3ba495f5a">name</a> () const</td></tr>
<tr class="memdesc:a6479254636b6c638beec35a3ba495f5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name.  <br /></td></tr>
<tr class="separator:a6479254636b6c638beec35a3ba495f5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc6eff8c84cf39de20aaec579f1716b0" id="r_afc6eff8c84cf39de20aaec579f1716b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#afc6eff8c84cf39de20aaec579f1716b0">train</a> (<a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#aabd1a7c1a563d9c29039fabc8f1a57c2">ClassifierType</a> &amp;classifier, const <a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, unsigned int &gt; &amp;dataset)</td></tr>
<tr class="separator:afc6eff8c84cf39de20aaec579f1716b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a512de58a73a790ce3159452b73c1f892" id="r_a512de58a73a790ce3159452b73c1f892"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a512de58a73a790ce3159452b73c1f892">epochs</a> () const</td></tr>
<tr class="separator:a512de58a73a790ce3159452b73c1f892"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5bd681e0b7e4f64f8ef3f031fe15396" id="r_ad5bd681e0b7e4f64f8ef3f031fe15396"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ad5bd681e0b7e4f64f8ef3f031fe15396">setEpochs</a> (std::size_t value)</td></tr>
<tr class="separator:ad5bd681e0b7e4f64f8ef3f031fe15396"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a0280688fb9600606ea098dfa9fb3a5" id="r_a5a0280688fb9600606ea098dfa9fb3a5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a2e358ce3d8b3397c0f53bbf04d9c5493">KernelType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a5a0280688fb9600606ea098dfa9fb3a5">kernel</a> ()</td></tr>
<tr class="memdesc:a5a0280688fb9600606ea098dfa9fb3a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the kernel function  <br /></td></tr>
<tr class="separator:a5a0280688fb9600606ea098dfa9fb3a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe6e3c9bc8d82159fde4d0d6ce77a29c" id="r_abe6e3c9bc8d82159fde4d0d6ce77a29c"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a2e358ce3d8b3397c0f53bbf04d9c5493">KernelType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#abe6e3c9bc8d82159fde4d0d6ce77a29c">kernel</a> () const</td></tr>
<tr class="memdesc:abe6e3c9bc8d82159fde4d0d6ce77a29c"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the kernel function  <br /></td></tr>
<tr class="separator:abe6e3c9bc8d82159fde4d0d6ce77a29c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a197676a5f5247401a286c9f2c54db720" id="r_a197676a5f5247401a286c9f2c54db720"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a197676a5f5247401a286c9f2c54db720">setKernel</a> (<a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a2e358ce3d8b3397c0f53bbf04d9c5493">KernelType</a> *<a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a5a0280688fb9600606ea098dfa9fb3a5">kernel</a>)</td></tr>
<tr class="memdesc:a197676a5f5247401a286c9f2c54db720"><td class="mdescLeft">&#160;</td><td class="mdescRight">set the kernel function  <br /></td></tr>
<tr class="separator:a197676a5f5247401a286c9f2c54db720"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9ee46318c066f68346a9f95b0a9d89b" id="r_af9ee46318c066f68346a9f95b0a9d89b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#af9ee46318c066f68346a9f95b0a9d89b">isUnconstrained</a> () const</td></tr>
<tr class="separator:af9ee46318c066f68346a9f95b0a9d89b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55681941faf8293971193dce813c5651" id="r_a55681941faf8293971193dce813c5651"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a55681941faf8293971193dce813c5651">C</a> () const</td></tr>
<tr class="memdesc:a55681941faf8293971193dce813c5651"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the value of the regularization parameter  <br /></td></tr>
<tr class="separator:a55681941faf8293971193dce813c5651"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a901e47531bcb1c010bbaa859a4666f11" id="r_a901e47531bcb1c010bbaa859a4666f11"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a901e47531bcb1c010bbaa859a4666f11">setC</a> (double value)</td></tr>
<tr class="memdesc:a901e47531bcb1c010bbaa859a4666f11"><td class="mdescLeft">&#160;</td><td class="mdescRight">set the value of the regularization parameter (must be positive)  <br /></td></tr>
<tr class="separator:a901e47531bcb1c010bbaa859a4666f11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed3f039e3cfb8b26115d75838453707b" id="r_aed3f039e3cfb8b26115d75838453707b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#aed3f039e3cfb8b26115d75838453707b">trainOffset</a> () const</td></tr>
<tr class="memdesc:aed3f039e3cfb8b26115d75838453707b"><td class="mdescLeft">&#160;</td><td class="mdescRight">check whether the model to be trained should include an offset term  <br /></td></tr>
<tr class="separator:aed3f039e3cfb8b26115d75838453707b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4573dfb8f348f21bc95c74eddc97b48" id="r_ae4573dfb8f348f21bc95c74eddc97b48"><td class="memItemLeft" align="right" valign="top">RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ae4573dfb8f348f21bc95c74eddc97b48">parameterVector</a> () const</td></tr>
<tr class="memdesc:ae4573dfb8f348f21bc95c74eddc97b48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the vector of hyper-parameters.  <br /></td></tr>
<tr class="separator:ae4573dfb8f348f21bc95c74eddc97b48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5150b09e061a93c353990fef1c4bd0a2" id="r_a5150b09e061a93c353990fef1c4bd0a2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a5150b09e061a93c353990fef1c4bd0a2">setParameterVector</a> (RealVector const &amp;newParameters)</td></tr>
<tr class="memdesc:a5150b09e061a93c353990fef1c4bd0a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the vector of hyper-parameters.  <br /></td></tr>
<tr class="separator:a5150b09e061a93c353990fef1c4bd0a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66b3bfe5605e929520855fe6d5b95584" id="r_a66b3bfe5605e929520855fe6d5b95584"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a66b3bfe5605e929520855fe6d5b95584">numberOfParameters</a> () const</td></tr>
<tr class="memdesc:a66b3bfe5605e929520855fe6d5b95584"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of hyper-parameters.  <br /></td></tr>
<tr class="separator:a66b3bfe5605e929520855fe6d5b95584"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_abstract_trainer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_abstract_trainer')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_trainer.html">shark::AbstractTrainer&lt; KernelClassifier&lt; InputType &gt; &gt;</a></td></tr>
<tr class="memitem:a71d3fd2567473d746ecb733d7fa28c7e inherit pub_methods_classshark_1_1_abstract_trainer" id="r_a71d3fd2567473d746ecb733d7fa28c7e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_trainer.html#a71d3fd2567473d746ecb733d7fa28c7e">train</a> (<a class="el" href="classshark_1_1_abstract_trainer.html#a0d5c9d35b614d6a33e4e8bfeaf1e9298">ModelType</a> &amp;model, <a class="el" href="classshark_1_1_abstract_trainer.html#aa4730fe9d59622d35d95cd4233f8d7af">DatasetType</a> const &amp;dataset)=0</td></tr>
<tr class="memdesc:a71d3fd2567473d746ecb733d7fa28c7e inherit pub_methods_classshark_1_1_abstract_trainer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Core of the Trainer interface.  <br /></td></tr>
<tr class="separator:a71d3fd2567473d746ecb733d7fa28c7e inherit pub_methods_classshark_1_1_abstract_trainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_nameable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_nameable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_nameable.html">shark::INameable</a></td></tr>
<tr class="memitem:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable" id="r_a877dbdfc6b58ea836495143cea44a98c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a877dbdfc6b58ea836495143cea44a98c">~INameable</a> ()</td></tr>
<tr class="separator:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_serializable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_serializable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_serializable.html">shark::ISerializable</a></td></tr>
<tr class="memitem:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable" id="r_a7baa9ce108d7278822297ce15882782a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a7baa9ce108d7278822297ce15882782a">~ISerializable</a> ()</td></tr>
<tr class="memdesc:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual d'tor.  <br /></td></tr>
<tr class="separator:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4ad9a7c274deff642f91e98417fbc63 inherit pub_methods_classshark_1_1_i_serializable" id="r_ad4ad9a7c274deff642f91e98417fbc63"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#ad4ad9a7c274deff642f91e98417fbc63">read</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive)</td></tr>
<tr class="memdesc:ad4ad9a7c274deff642f91e98417fbc63 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read the component from the supplied archive.  <br /></td></tr>
<tr class="separator:ad4ad9a7c274deff642f91e98417fbc63 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bddedd42933c922e323b73131f62f12 inherit pub_methods_classshark_1_1_i_serializable" id="r_a9bddedd42933c922e323b73131f62f12"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a9bddedd42933c922e323b73131f62f12">write</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive) const</td></tr>
<tr class="memdesc:a9bddedd42933c922e323b73131f62f12 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write the component to the supplied archive.  <br /></td></tr>
<tr class="separator:a9bddedd42933c922e323b73131f62f12 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable" id="r_abdda0c5b8e065b8afbac2cba8f58e841"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#abdda0c5b8e065b8afbac2cba8f58e841">load</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive, unsigned int version)</td></tr>
<tr class="memdesc:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned loading of components, calls read(...).  <br /></td></tr>
<tr class="separator:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable" id="r_a5bf66fa8db15cc529bec98976a2f5255"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a5bf66fa8db15cc529bec98976a2f5255">save</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive, unsigned int version) const</td></tr>
<tr class="memdesc:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned storing of components, calls write(...).  <br /></td></tr>
<tr class="separator:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable" id="r_a4560a94e8f4908fe8627e41e7d965735"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a4560a94e8f4908fe8627e41e7d965735">BOOST_SERIALIZATION_SPLIT_MEMBER</a> ()</td></tr>
<tr class="separator:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable" id="r_a9e3a11172e74d1aa7292f3de4e2b6ebc"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a9e3a11172e74d1aa7292f3de4e2b6ebc">~IParameterizable</a> ()</td></tr>
<tr class="separator:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a80076005339d5be37635648497fd8ee8" id="r_a80076005339d5be37635648497fd8ee8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a2e358ce3d8b3397c0f53bbf04d9c5493">KernelType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a80076005339d5be37635648497fd8ee8">m_kernel</a></td></tr>
<tr class="memdesc:a80076005339d5be37635648497fd8ee8"><td class="mdescLeft">&#160;</td><td class="mdescRight">pointer to kernel function  <br /></td></tr>
<tr class="separator:a80076005339d5be37635648497fd8ee8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab625d21676430dfcbab2dfce0d0a71f2" id="r_ab625d21676430dfcbab2dfce0d0a71f2"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a06bca64eeb1641f17d435da555a78c22">LossType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ab625d21676430dfcbab2dfce0d0a71f2">m_loss</a></td></tr>
<tr class="memdesc:ab625d21676430dfcbab2dfce0d0a71f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">pointer to loss function  <br /></td></tr>
<tr class="separator:ab625d21676430dfcbab2dfce0d0a71f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c9ddc984e879808a91364668b27da4f" id="r_a6c9ddc984e879808a91364668b27da4f"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a6c9ddc984e879808a91364668b27da4f">m_C</a></td></tr>
<tr class="memdesc:a6c9ddc984e879808a91364668b27da4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">regularization parameter  <br /></td></tr>
<tr class="separator:a6c9ddc984e879808a91364668b27da4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a745df296984693159dcd99dce89e3d7f" id="r_a745df296984693159dcd99dce89e3d7f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a745df296984693159dcd99dce89e3d7f">m_offset</a></td></tr>
<tr class="memdesc:a745df296984693159dcd99dce89e3d7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">should the resulting model have an offset term?  <br /></td></tr>
<tr class="separator:a745df296984693159dcd99dce89e3d7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cdbe89d6b1e2890ef965f6fd01a747e" id="r_a8cdbe89d6b1e2890ef965f6fd01a747e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a8cdbe89d6b1e2890ef965f6fd01a747e">m_unconstrained</a></td></tr>
<tr class="memdesc:a8cdbe89d6b1e2890ef965f6fd01a747e"><td class="mdescLeft">&#160;</td><td class="mdescRight">should C be stored as log(C) as a parameter?  <br /></td></tr>
<tr class="separator:a8cdbe89d6b1e2890ef965f6fd01a747e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adefa2c47996b1323231f69b96c0be778" id="r_adefa2c47996b1323231f69b96c0be778"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#adefa2c47996b1323231f69b96c0be778">m_budgetSize</a></td></tr>
<tr class="separator:adefa2c47996b1323231f69b96c0be778"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02e70a83231e2f686b861b9d353ffe23" id="r_a02e70a83231e2f686b861b9d353ffe23"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html">AbstractBudgetMaintenanceStrategy</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a02e70a83231e2f686b861b9d353ffe23">m_budgetMaintenanceStrategy</a></td></tr>
<tr class="separator:a02e70a83231e2f686b861b9d353ffe23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70e4a98aa96a4a85f15dd0fecb2956f1" id="r_a70e4a98aa96a4a85f15dd0fecb2956f1"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a70e4a98aa96a4a85f15dd0fecb2956f1">m_epochs</a></td></tr>
<tr class="memdesc:a70e4a98aa96a4a85f15dd0fecb2956f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">number of training epochs (sweeps over the data), or 0 for default = max(10, C)  <br /></td></tr>
<tr class="separator:a70e4a98aa96a4a85f15dd0fecb2956f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a014dcb01ea4274f8f7fc83887573c769" id="r_a014dcb01ea4274f8f7fc83887573c769"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a014dcb01ea4274f8f7fc83887573c769">m_preInitializationMethod</a></td></tr>
<tr class="separator:a014dcb01ea4274f8f7fc83887573c769"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace0f955650ddfcfcec23ed5eb3d33307" id="r_ace0f955650ddfcfcec23ed5eb3d33307"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ace0f955650ddfcfcec23ed5eb3d33307">m_minMargin</a></td></tr>
<tr class="separator:ace0f955650ddfcfcec23ed5eb3d33307"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, class CacheType = float&gt;<br />
class shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;</div><p>Budgeted stochastic gradient descent training for kernel-based models. </p>
<dl class="section user"><dt>This is an implementation of the BSGD algorithm, developed by</dt><dd>Wang, Crammer and Vucetic: Breaking the curse of kernelization: Budgeted stochastic gradient descent for large-scale SVM training, JMLR 2012. Basically this is pegasos, so something similar to a perceptron. The main difference is that we do restrict the sparsity of the weight vector to a (currently predefined) value. Therefore, whenever this sparsity is reached, we have to decide how to add a new vector to the model, without destroying this sparsity. Several methods have been proposed for this, Wang et al. main insight is that merging two budget vectors (i.e. two vectors in the model). If the first one is searched by norm of its alpha coefficient, the second one can be found by some optimization problem, yielding a roughly optimal pair. This pair can be merged and by doing so the budget has now space for a new vector. Such strategies are called budget maintenance strategies.</dd></dl>
<dl class="section user"><dt>This implementation owes much to the 'reference' implementation</dt><dd>in the BudgetedSVM software.</dd></dl>
<dl class="section user"><dt>For the documentation of the basic SGD algorithm, please refer to</dt><dd><a class="el" href="_kernel_s_g_d_trainer_8h.html">KernelSGDTrainer.h</a>. Note that we did not take over the special alpha scaling from that class. Therefore this class is perhaps numerically not as robust as SGD. </dd></dl>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00097">97</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="aabd1a7c1a563d9c29039fabc8f1a57c2" name="aabd1a7c1a563d9c29039fabc8f1a57c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabd1a7c1a563d9c29039fabc8f1a57c2">&#9670;&#160;</a></span>ClassifierType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structshark_1_1_kernel_classifier.html">KernelClassifier</a>&lt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>&gt; <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::ClassifierType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00102">102</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

</div>
</div>
<a id="a1f29257150948ec40a72088b71509195" name="a1f29257150948ec40a72088b71509195"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f29257150948ec40a72088b71509195">&#9670;&#160;</a></span>ConstBatchInputReference</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structshark_1_1_const_proxy_reference.html">ConstProxyReference</a>&lt;typenameBatch&lt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>&gt;::typeconst&gt;::type <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::ConstBatchInputReference</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00105">105</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

</div>
</div>
<a id="a5b834dccb79cf2bd9623ad3caf374aa5" name="a5b834dccb79cf2bd9623ad3caf374aa5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b834dccb79cf2bd9623ad3caf374aa5">&#9670;&#160;</a></span>ElementType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a>&lt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>,unsignedint&gt;::element_type <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::ElementType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00107">107</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

</div>
</div>
<a id="a60fcdf9770f6f859edaead4ff9a2684e" name="a60fcdf9770f6f859edaead4ff9a2684e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60fcdf9770f6f859edaead4ff9a2684e">&#9670;&#160;</a></span>KernelMatrixType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_kernel_matrix.html">KernelMatrix</a>&lt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a46a5cbca5391f2985a52e84ab9fa99fa">QpFloatType</a>&gt; <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::KernelMatrixType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00109">109</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

</div>
</div>
<a id="a2e358ce3d8b3397c0f53bbf04d9c5493" name="a2e358ce3d8b3397c0f53bbf04d9c5493"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e358ce3d8b3397c0f53bbf04d9c5493">&#9670;&#160;</a></span>KernelType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_kernel_function.html">AbstractKernelFunction</a>&lt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>&gt; <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::KernelType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00101">101</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

</div>
</div>
<a id="a06bca64eeb1641f17d435da555a78c22" name="a06bca64eeb1641f17d435da555a78c22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06bca64eeb1641f17d435da555a78c22">&#9670;&#160;</a></span>LossType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_loss.html">AbstractLoss</a>&lt;unsigned int, RealVector&gt; <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::LossType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00104">104</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

</div>
</div>
<a id="a62a15b8334075f72a3dfd0827d6d28e5" name="a62a15b8334075f72a3dfd0827d6d28e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62a15b8334075f72a3dfd0827d6d28e5">&#9670;&#160;</a></span>ModelType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_kernel_expansion.html">KernelExpansion</a>&lt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>&gt; <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::ModelType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00103">103</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

</div>
</div>
<a id="a86c3c80eefc4b570704a0d8bbc5a0f97" name="a86c3c80eefc4b570704a0d8bbc5a0f97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86c3c80eefc4b570704a0d8bbc5a0f97">&#9670;&#160;</a></span>PartlyPrecomputedMatrixType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_partly_precomputed_matrix.html">PartlyPrecomputedMatrix</a>&lt; <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a60fcdf9770f6f859edaead4ff9a2684e">KernelMatrixType</a> &gt; <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::PartlyPrecomputedMatrixType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00110">110</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

</div>
</div>
<a id="a46a5cbca5391f2985a52e84ab9fa99fa" name="a46a5cbca5391f2985a52e84ab9fa99fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46a5cbca5391f2985a52e84ab9fa99fa">&#9670;&#160;</a></span>QpFloatType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef CacheType <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::QpFloatType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00106">106</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="ab2bbffc9336fbe61c3b667f8f3f0672e" name="ab2bbffc9336fbe61c3b667f8f3f0672e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2bbffc9336fbe61c3b667f8f3f0672e">&#9670;&#160;</a></span>preInitializationMethod</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ab2bbffc9336fbe61c3b667f8f3f0672e">shark::KernelBudgetedSGDTrainer::preInitializationMethod</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>preinitialization methods </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ab2bbffc9336fbe61c3b667f8f3f0672ea3481ccda012741ec6f194790c8fa81b2" name="ab2bbffc9336fbe61c3b667f8f3f0672ea3481ccda012741ec6f194790c8fa81b2"></a>NONE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ab2bbffc9336fbe61c3b667f8f3f0672eaa780ebd48025014f013b4fa68cc4ae45" name="ab2bbffc9336fbe61c3b667f8f3f0672eaa780ebd48025014f013b4fa68cc4ae45"></a>RANDOM&#160;</td><td class="fielddoc"></td></tr>
</table>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00115">115</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aab286ceb068bacf0dcdd21b43c48c231" name="aab286ceb068bacf0dcdd21b43c48c231"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab286ceb068bacf0dcdd21b43c48c231">&#9670;&#160;</a></span>KernelBudgetedSGDTrainer()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::KernelBudgetedSGDTrainer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a2e358ce3d8b3397c0f53bbf04d9c5493">KernelType</a> *&#160;</td>
          <td class="paramname"><em>kernel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a06bca64eeb1641f17d435da555a78c22">LossType</a> *&#160;</td>
          <td class="paramname"><em>loss</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>C</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>unconstrained</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>budgetSize</em> = <code>500</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html">AbstractBudgetMaintenanceStrategy</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; *&#160;</td>
          <td class="paramname"><em>budgetMaintenanceStrategy</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>epochs</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>preInitializationMethod</em> = <code><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ab2bbffc9336fbe61c3b667f8f3f0672ea3481ccda012741ec6f194790c8fa81b2">NONE</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>minMargin</em> = <code>1.0f</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor Note that there is no cache size involved, as merging vectors will always create new ones, which makes caching roughly obsolete. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">kernel</td><td>kernel function to use for training and prediction </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">loss</td><td>(sub-)differentiable loss function </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">C</td><td>regularization parameter - always the 'true' value of C, even when unconstrained is set </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">offset</td><td>whether to train with offset/bias parameter or not </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">unconstrained</td><td>when a C-value is given via setParameter, should it be piped through the exp-function before using it in the solver? </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">budgetSize</td><td>size of the budget/model that the final solution will have. Note that it might be smaller though. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">budgetMaintenanceStrategy</td><td>object that contains the logic for maintaining the budget size. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">epochs</td><td>number of epochs the SGD solver should run. if zero is given, the size will be the max of 10*datasetsize or C*datasetsize </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">preInitializationMethod</td><td>the method to preinitialize the budget. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">minMargin</td><td>the margin every vector has to obey. Usually this is 1. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00134">134</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a02e70a83231e2f686b861b9d353ffe23">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_budgetMaintenanceStrategy</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a80076005339d5be37635648497fd8ee8">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_kernel</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ab625d21676430dfcbab2dfce0d0a71f2">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_loss</a>, and <a class="el" href="_exception_8h.html#adce1f80097c69010f5eab2618fa2e971">SHARK_RUNTIME_CHECK</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aacf277842f28d9d49b1aea197ba710ac" name="aacf277842f28d9d49b1aea197ba710ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aacf277842f28d9d49b1aea197ba710ac">&#9670;&#160;</a></span>budgetMaintenanceStrategy()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html">AbstractBudgetMaintenanceStrategy</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; * <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::budgetMaintenanceStrategy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>return pointer to the budget maintenance strategy </p><dl class="section return"><dt>Returns</dt><dd>pointer to the budget maintenance strategy. </dd></dl>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00185">185</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a02e70a83231e2f686b861b9d353ffe23">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_budgetMaintenanceStrategy</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a4f87b77aab4f3bc93ab429994d51caf3">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::setBudgetMaintenanceStrategy()</a>.</p>

</div>
</div>
<a id="a1f1e8961c4e22246f2fe3d023335c571" name="a1f1e8961c4e22246f2fe3d023335c571"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f1e8961c4e22246f2fe3d023335c571">&#9670;&#160;</a></span>budgetSize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::budgetSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>get budget size </p><dl class="section return"><dt>Returns</dt><dd>budget size </dd></dl>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00167">167</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#adefa2c47996b1323231f69b96c0be778">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_budgetSize</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ae45eb76dbab8216393c04a45272c078a">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::setBudgetSize()</a>.</p>

</div>
</div>
<a id="a55681941faf8293971193dce813c5651" name="a55681941faf8293971193dce813c5651"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55681941faf8293971193dce813c5651">&#9670;&#160;</a></span>C()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::C </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return the value of the regularization parameter </p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00437">437</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a6c9ddc984e879808a91364668b27da4f">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_C</a>.</p>

</div>
</div>
<a id="a512de58a73a790ce3159452b73c1f892" name="a512de58a73a790ce3159452b73c1f892"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a512de58a73a790ce3159452b73c1f892">&#9670;&#160;</a></span>epochs()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::epochs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Return the number of training epochs. A value of 0 indicates that the default of max(10, C) should be used. </p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00400">400</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a70e4a98aa96a4a85f15dd0fecb2956f1">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_epochs</a>.</p>

</div>
</div>
<a id="af9ee46318c066f68346a9f95b0a9d89b" name="af9ee46318c066f68346a9f95b0a9d89b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9ee46318c066f68346a9f95b0a9d89b">&#9670;&#160;</a></span>isUnconstrained()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::isUnconstrained </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>check whether the parameter C is represented as log(C), thus, in a form suitable for unconstrained optimization, in the parameter vector </p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00431">431</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a8cdbe89d6b1e2890ef965f6fd01a747e">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_unconstrained</a>.</p>

</div>
</div>
<a id="a5a0280688fb9600606ea098dfa9fb3a5" name="a5a0280688fb9600606ea098dfa9fb3a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a0280688fb9600606ea098dfa9fb3a5">&#9670;&#160;</a></span>kernel() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a2e358ce3d8b3397c0f53bbf04d9c5493">KernelType</a> * <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::kernel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>get the kernel function </p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00413">413</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a80076005339d5be37635648497fd8ee8">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_kernel</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a197676a5f5247401a286c9f2c54db720">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::setKernel()</a>.</p>

</div>
</div>
<a id="abe6e3c9bc8d82159fde4d0d6ce77a29c" name="abe6e3c9bc8d82159fde4d0d6ce77a29c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe6e3c9bc8d82159fde4d0d6ce77a29c">&#9670;&#160;</a></span>kernel() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a2e358ce3d8b3397c0f53bbf04d9c5493">KernelType</a> * <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::kernel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>get the kernel function </p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00418">418</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a80076005339d5be37635648497fd8ee8">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_kernel</a>.</p>

</div>
</div>
<a id="a7711ed0cef0489dc1bca0a9cb26e12fa" name="a7711ed0cef0489dc1bca0a9cb26e12fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7711ed0cef0489dc1bca0a9cb26e12fa">&#9670;&#160;</a></span>minMargin()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::minMargin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>return min margin </p><dl class="section return"><dt>Returns</dt><dd>current min margin </dd></dl>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00203">203</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ace0f955650ddfcfcec23ed5eb3d33307">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_minMargin</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a9f083a7f478269c13cf1550e3fe0c469">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::setMinMargin()</a>.</p>

</div>
</div>
<a id="a6479254636b6c638beec35a3ba495f5a" name="a6479254636b6c638beec35a3ba495f5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6479254636b6c638beec35a3ba495f5a">&#9670;&#160;</a></span>name()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_nameable.html#a9893f99314de30cd472e649c235d0db4">shark::INameable</a>.</p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00219">219</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="_kernel_budgeted_s_g_d_tutorial_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>.</p>

</div>
</div>
<a id="a66b3bfe5605e929520855fe6d5b95584" name="a66b3bfe5605e929520855fe6d5b95584"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66b3bfe5605e929520855fe6d5b95584">&#9670;&#160;</a></span>numberOfParameters()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::numberOfParameters </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the number of hyper-parameters. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#aed1e8d1d4dbde387e2f6a25141ed3a20">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00474">474</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a80076005339d5be37635648497fd8ee8">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_kernel</a>, and <a class="el" href="classshark_1_1_i_parameterizable.html#aed1e8d1d4dbde387e2f6a25141ed3a20">shark::IParameterizable&lt; VectorType &gt;::numberOfParameters()</a>.</p>

</div>
</div>
<a id="ae4573dfb8f348f21bc95c74eddc97b48" name="ae4573dfb8f348f21bc95c74eddc97b48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4573dfb8f348f21bc95c74eddc97b48">&#9670;&#160;</a></span>parameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealVector <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::parameterVector </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the vector of hyper-parameters. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#afaa2ba692ab64a0edbff60d7ee6794db">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00456">456</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a6c9ddc984e879808a91364668b27da4f">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_C</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a80076005339d5be37635648497fd8ee8">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_kernel</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a8cdbe89d6b1e2890ef965f6fd01a747e">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_unconstrained</a>, and <a class="el" href="classshark_1_1_i_parameterizable.html#afaa2ba692ab64a0edbff60d7ee6794db">shark::IParameterizable&lt; VectorType &gt;::parameterVector()</a>.</p>

</div>
</div>
<a id="a4f87b77aab4f3bc93ab429994d51caf3" name="a4f87b77aab4f3bc93ab429994d51caf3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f87b77aab4f3bc93ab429994d51caf3">&#9670;&#160;</a></span>setBudgetMaintenanceStrategy()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::setBudgetMaintenanceStrategy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html">AbstractBudgetMaintenanceStrategy</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; *&#160;</td>
          <td class="paramname"><em>budgetMaintenanceStrategy</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>set budget maintenance strategy </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">budgetMaintenanceStrategy</td><td>set strategy to given object. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00194">194</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#aacf277842f28d9d49b1aea197ba710ac">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::budgetMaintenanceStrategy()</a>, and <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a02e70a83231e2f686b861b9d353ffe23">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_budgetMaintenanceStrategy</a>.</p>

</div>
</div>
<a id="ae45eb76dbab8216393c04a45272c078a" name="ae45eb76dbab8216393c04a45272c078a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae45eb76dbab8216393c04a45272c078a">&#9670;&#160;</a></span>setBudgetSize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::setBudgetSize </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>budgetSize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>set budget size </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">budgetSize</td><td>size of budget. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00176">176</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a1f1e8961c4e22246f2fe3d023335c571">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::budgetSize()</a>, and <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#adefa2c47996b1323231f69b96c0be778">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_budgetSize</a>.</p>

</div>
</div>
<a id="a901e47531bcb1c010bbaa859a4666f11" name="a901e47531bcb1c010bbaa859a4666f11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a901e47531bcb1c010bbaa859a4666f11">&#9670;&#160;</a></span>setC()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::setC </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>set the value of the regularization parameter (must be positive) </p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00443">443</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a6c9ddc984e879808a91364668b27da4f">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_C</a>, and <a class="el" href="_exception_8h.html#abd848215f138fc44f696aecb3e417e6c">RANGE_CHECK</a>.</p>

</div>
</div>
<a id="ad5bd681e0b7e4f64f8ef3f031fe15396" name="ad5bd681e0b7e4f64f8ef3f031fe15396"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5bd681e0b7e4f64f8ef3f031fe15396">&#9670;&#160;</a></span>setEpochs()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::setEpochs </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set the number of training epochs. A value of 0 indicates that the default of max(10, C) should be used. </p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00407">407</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a70e4a98aa96a4a85f15dd0fecb2956f1">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_epochs</a>.</p>

<p class="reference">Referenced by <a class="el" href="_kernel_budgeted_s_g_d_tutorial_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>.</p>

</div>
</div>
<a id="a197676a5f5247401a286c9f2c54db720" name="a197676a5f5247401a286c9f2c54db720"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a197676a5f5247401a286c9f2c54db720">&#9670;&#160;</a></span>setKernel()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::setKernel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a2e358ce3d8b3397c0f53bbf04d9c5493">KernelType</a> *&#160;</td>
          <td class="paramname"><em>kernel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>set the kernel function </p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00423">423</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a5a0280688fb9600606ea098dfa9fb3a5">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::kernel()</a>, and <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a80076005339d5be37635648497fd8ee8">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_kernel</a>.</p>

</div>
</div>
<a id="a9f083a7f478269c13cf1550e3fe0c469" name="a9f083a7f478269c13cf1550e3fe0c469"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f083a7f478269c13cf1550e3fe0c469">&#9670;&#160;</a></span>setMinMargin()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::setMinMargin </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>minMargin</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>set min margin </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">minMargin</td><td>new min margin. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00212">212</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ace0f955650ddfcfcec23ed5eb3d33307">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_minMargin</a>, and <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a7711ed0cef0489dc1bca0a9cb26e12fa">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::minMargin()</a>.</p>

</div>
</div>
<a id="a5150b09e061a93c353990fef1c4bd0a2" name="a5150b09e061a93c353990fef1c4bd0a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5150b09e061a93c353990fef1c4bd0a2">&#9670;&#160;</a></span>setParameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::setParameterVector </td>
          <td>(</td>
          <td class="paramtype">RealVector const &amp;&#160;</td>
          <td class="paramname"><em>newParameters</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the vector of hyper-parameters. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#ad5e35d1a10ff36fa72ea787baa40e9ad">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00464">464</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a6c9ddc984e879808a91364668b27da4f">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_C</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a80076005339d5be37635648497fd8ee8">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_kernel</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a8cdbe89d6b1e2890ef965f6fd01a747e">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_unconstrained</a>, <a class="el" href="classshark_1_1_i_parameterizable.html#aed1e8d1d4dbde387e2f6a25141ed3a20">shark::IParameterizable&lt; VectorType &gt;::numberOfParameters()</a>, <a class="el" href="classshark_1_1_i_parameterizable.html#ad5e35d1a10ff36fa72ea787baa40e9ad">shark::IParameterizable&lt; VectorType &gt;::setParameterVector()</a>, and <a class="el" href="_exception_8h.html#a73abb5049a0168d72a48e72dda41708b">SHARK_ASSERT</a>.</p>

</div>
</div>
<a id="afc6eff8c84cf39de20aaec579f1716b0" name="afc6eff8c84cf39de20aaec579f1716b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc6eff8c84cf39de20aaec579f1716b0">&#9670;&#160;</a></span>train()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::train </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#aabd1a7c1a563d9c29039fabc8f1a57c2">ClassifierType</a> &amp;&#160;</td>
          <td class="paramname"><em>classifier</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, unsigned int &gt; &amp;&#160;</td>
          <td class="paramname"><em>dataset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Train routine. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">classifier</td><td>classifier object for the final solution. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">dataset</td><td>dataset to work with. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00229">229</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#a3c65dfd17f38eaa461f6400d302fae48">shark::KernelExpansion&lt; InputType &gt;::alpha()</a>, <a class="el" href="namespaceshark.html#a5478d144c4c997faf5c246dd8e2f85b8">shark::createBatch()</a>, <a class="el" href="classshark_1_1_classifier.html#adf58b2ed9969bad9828772dd23c59c02">shark::Classifier&lt; Model &gt;::decisionFunction()</a>, <a class="el" href="namespaceshark_1_1random.html#aa64d4174eaf7111b03e0504eaa56b666">shark::random::discrete()</a>, <a class="el" href="group__shark__globals.html#ga0ea72a74a21d5ff59772516b83c4a58b">shark::Data&lt; Type &gt;::element()</a>, <a class="el" href="group__shark__globals.html#gaec57b5f22b3e8d2d67ad4b621f30fd54">shark::LabeledData&lt; InputT, LabelT &gt;::element()</a>, <a class="el" href="group__shark__globals.html#gad9b0233e3adc882ed94f418f80767b09">shark::Data&lt; Type &gt;::elements()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a9a55c5a7f5e4b7f447f299c1b19050e2">shark::KernelExpansion&lt; InputType &gt;::eval()</a>, <a class="el" href="namespaceshark_1_1random.html#ab5c1547eee483974d008d43f621a2234">shark::random::globalRng</a>, <a class="el" href="group__shark__globals.html#ga6f74e657c7e0c8a32b2456fb328bd653">shark::LabeledData&lt; InputT, LabelT &gt;::inputs()</a>, <a class="el" href="group__shark__globals.html#ga6328a5aa2570c01a5ac5f25076071663">shark::LabeledData&lt; InputT, LabelT &gt;::labels()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a02e70a83231e2f686b861b9d353ffe23">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_budgetMaintenanceStrategy</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#adefa2c47996b1323231f69b96c0be778">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_budgetSize</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a6c9ddc984e879808a91364668b27da4f">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_C</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a70e4a98aa96a4a85f15dd0fecb2956f1">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_epochs</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a80076005339d5be37635648497fd8ee8">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_kernel</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ace0f955650ddfcfcec23ed5eb3d33307">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_minMargin</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a745df296984693159dcd99dce89e3d7f">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_offset</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a014dcb01ea4274f8f7fc83887573c769">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_preInitializationMethod</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ab2bbffc9336fbe61c3b667f8f3f0672ea3481ccda012741ec6f194790c8fa81b2">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::NONE</a>, <a class="el" href="group__shark__globals.html#ga1fee3b5830ae11a78109e8c0265c6569">shark::numberOfClasses()</a>, <a class="el" href="group__shark__globals.html#ga5333445992cd6b14392cd80a1ab5403c">shark::LabeledData&lt; InputT, LabelT &gt;::numberOfElements()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ab2bbffc9336fbe61c3b667f8f3f0672eaa780ebd48025014f013b4fa68cc4ae45">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::RANDOM</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a38c97766f52bf00e5b0120c46c15f37f">shark::KernelExpansion&lt; InputType &gt;::setStructure()</a>, <a class="el" href="_exception_8h.html#a73abb5049a0168d72a48e72dda41708b">SHARK_ASSERT</a>, and <a class="el" href="classshark_1_1_kernel_expansion.html#a503aaebca6ce5e7d8a6f79e5e039bd9f">shark::KernelExpansion&lt; InputType &gt;::sparsify()</a>.</p>

<p class="reference">Referenced by <a class="el" href="_kernel_budgeted_s_g_d_tutorial_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>.</p>

</div>
</div>
<a id="aed3f039e3cfb8b26115d75838453707b" name="aed3f039e3cfb8b26115d75838453707b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed3f039e3cfb8b26115d75838453707b">&#9670;&#160;</a></span>trainOffset()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::trainOffset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>check whether the model to be trained should include an offset term </p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00450">450</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a745df296984693159dcd99dce89e3d7f">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::m_offset</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a02e70a83231e2f686b861b9d353ffe23" name="a02e70a83231e2f686b861b9d353ffe23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02e70a83231e2f686b861b9d353ffe23">&#9670;&#160;</a></span>m_budgetMaintenanceStrategy</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html">AbstractBudgetMaintenanceStrategy</a>&lt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>&gt;* <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_budgetMaintenanceStrategy</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00490">490</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#aacf277842f28d9d49b1aea197ba710ac">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::budgetMaintenanceStrategy()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#aab286ceb068bacf0dcdd21b43c48c231">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::KernelBudgetedSGDTrainer()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a4f87b77aab4f3bc93ab429994d51caf3">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::setBudgetMaintenanceStrategy()</a>, and <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#afc6eff8c84cf39de20aaec579f1716b0">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::train()</a>.</p>

</div>
</div>
<a id="adefa2c47996b1323231f69b96c0be778" name="adefa2c47996b1323231f69b96c0be778"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adefa2c47996b1323231f69b96c0be778">&#9670;&#160;</a></span>m_budgetSize</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_budgetSize</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00487">487</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a1f1e8961c4e22246f2fe3d023335c571">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::budgetSize()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ae45eb76dbab8216393c04a45272c078a">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::setBudgetSize()</a>, and <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#afc6eff8c84cf39de20aaec579f1716b0">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::train()</a>.</p>

</div>
</div>
<a id="a6c9ddc984e879808a91364668b27da4f" name="a6c9ddc984e879808a91364668b27da4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c9ddc984e879808a91364668b27da4f">&#9670;&#160;</a></span>m_C</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_C</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>regularization parameter </p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00482">482</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a55681941faf8293971193dce813c5651">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::C()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ae4573dfb8f348f21bc95c74eddc97b48">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::parameterVector()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a901e47531bcb1c010bbaa859a4666f11">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::setC()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a5150b09e061a93c353990fef1c4bd0a2">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::setParameterVector()</a>, and <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#afc6eff8c84cf39de20aaec579f1716b0">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::train()</a>.</p>

</div>
</div>
<a id="a70e4a98aa96a4a85f15dd0fecb2956f1" name="a70e4a98aa96a4a85f15dd0fecb2956f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70e4a98aa96a4a85f15dd0fecb2956f1">&#9670;&#160;</a></span>m_epochs</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_epochs</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>number of training epochs (sweeps over the data), or 0 for default = max(10, C) </p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00492">492</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a512de58a73a790ce3159452b73c1f892">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::epochs()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ad5bd681e0b7e4f64f8ef3f031fe15396">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::setEpochs()</a>, and <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#afc6eff8c84cf39de20aaec579f1716b0">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::train()</a>.</p>

</div>
</div>
<a id="a80076005339d5be37635648497fd8ee8" name="a80076005339d5be37635648497fd8ee8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80076005339d5be37635648497fd8ee8">&#9670;&#160;</a></span>m_kernel</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a2e358ce3d8b3397c0f53bbf04d9c5493">KernelType</a>* <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_kernel</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>pointer to kernel function </p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00480">480</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a5a0280688fb9600606ea098dfa9fb3a5">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::kernel()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#abe6e3c9bc8d82159fde4d0d6ce77a29c">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::kernel()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#aab286ceb068bacf0dcdd21b43c48c231">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::KernelBudgetedSGDTrainer()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a66b3bfe5605e929520855fe6d5b95584">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::numberOfParameters()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ae4573dfb8f348f21bc95c74eddc97b48">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::parameterVector()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a197676a5f5247401a286c9f2c54db720">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::setKernel()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a5150b09e061a93c353990fef1c4bd0a2">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::setParameterVector()</a>, and <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#afc6eff8c84cf39de20aaec579f1716b0">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::train()</a>.</p>

</div>
</div>
<a id="ab625d21676430dfcbab2dfce0d0a71f2" name="ab625d21676430dfcbab2dfce0d0a71f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab625d21676430dfcbab2dfce0d0a71f2">&#9670;&#160;</a></span>m_loss</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a06bca64eeb1641f17d435da555a78c22">LossType</a>* <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_loss</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>pointer to loss function </p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00481">481</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#aab286ceb068bacf0dcdd21b43c48c231">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::KernelBudgetedSGDTrainer()</a>.</p>

</div>
</div>
<a id="ace0f955650ddfcfcec23ed5eb3d33307" name="ace0f955650ddfcfcec23ed5eb3d33307"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace0f955650ddfcfcec23ed5eb3d33307">&#9670;&#160;</a></span>m_minMargin</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_minMargin</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00498">498</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a7711ed0cef0489dc1bca0a9cb26e12fa">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::minMargin()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a9f083a7f478269c13cf1550e3fe0c469">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::setMinMargin()</a>, and <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#afc6eff8c84cf39de20aaec579f1716b0">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::train()</a>.</p>

</div>
</div>
<a id="a745df296984693159dcd99dce89e3d7f" name="a745df296984693159dcd99dce89e3d7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a745df296984693159dcd99dce89e3d7f">&#9670;&#160;</a></span>m_offset</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_offset</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>should the resulting model have an offset term? </p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00483">483</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#afc6eff8c84cf39de20aaec579f1716b0">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::train()</a>, and <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#aed3f039e3cfb8b26115d75838453707b">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::trainOffset()</a>.</p>

</div>
</div>
<a id="a014dcb01ea4274f8f7fc83887573c769" name="a014dcb01ea4274f8f7fc83887573c769"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a014dcb01ea4274f8f7fc83887573c769">&#9670;&#160;</a></span>m_preInitializationMethod</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_preInitializationMethod</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00495">495</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#afc6eff8c84cf39de20aaec579f1716b0">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::train()</a>.</p>

</div>
</div>
<a id="a8cdbe89d6b1e2890ef965f6fd01a747e" name="a8cdbe89d6b1e2890ef965f6fd01a747e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8cdbe89d6b1e2890ef965f6fd01a747e">&#9670;&#160;</a></span>m_unconstrained</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType  = float&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html">shark::KernelBudgetedSGDTrainer</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_unconstrained</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>should C be stored as log(C) as a parameter? </p>

<p class="definition">Definition at line <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html#l00484">484</a> of file <a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#af9ee46318c066f68346a9f95b0a9d89b">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::isUnconstrained()</a>, <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#ae4573dfb8f348f21bc95c74eddc97b48">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::parameterVector()</a>, and <a class="el" href="classshark_1_1_kernel_budgeted_s_g_d_trainer.html#a5150b09e061a93c353990fef1c4bd0a2">shark::KernelBudgetedSGDTrainer&lt; InputType, CacheType &gt;::setParameterVector()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/Algorithms/Trainers/Budgeted/<a class="el" href="_kernel_budgeted_s_g_d_trainer_8h_source.html">KernelBudgetedSGDTrainer.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
